package com.example.config;

import com.example.util.TLSSigAPIv2;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ImConfig {

    // SDK_APP_ID
    private static final long SDK_APP_ID = 1600039988;

    // SECRET_KEY
    private static final String SECRET_KEY = "1f2a8f142cab29fadeed18197cea5cb64038a97d3c2b6bfa414683651e6352c1";

    @Bean
    public TLSSigAPIv2 tlsSigAPIv2() {
        return new TLSSigAPIv2(SDK_APP_ID, SECRET_KEY);
    }
}